import { PipeTransform, Injectable, ArgumentMetadata } from '@nestjs/common'

@Injectable()
export class UserPipe implements PipeTransform {
	constructor() {}
	transform(value: any, metadata: ArgumentMetadata) {
		// Get 或者 Post 传递而来
		console.log('app：管道')
		return value
	}
}
